package com.linkq.ipinyin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;

/**
 * @FileName BcExecutionContent
 * @Description 执行计划内容表
 * @Author wangpeng
 * @date 2025-03-15
 **/

@Data
@TableName("t_execution_content")
public class ExecutionContent extends Model<ExecutionContent> {

    @TableId(value = "id", type = IdType.AUTO)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /**
     * 执行计划id
     */
    private Integer executionPlanId;

    /**
     * 汉字id
     */
    private Integer characterId;

    /**
     * 是否正确 1:正确 2:错误 3:未答题
     */
    private Integer isCorrect;

    /**
     * 题目类型（1随堂测验题目/2之前的错题）
     */
    private Integer questionType;

    /**
     * 错题归属的执行id
     */
    private Integer questionExecutionId;

}
